package com.yl.pattern.creatormodel.singleton.demo5;

/**
 * @Author 小羊
 * @Date 29/10/2024下午 6:43
 * @ClassName Client
 * @Description 测试类
 */
public class Client {
    public static void main(String[] args) {
        Singleton singleton = Singleton.getInstance();
        Singleton singleton2 = Singleton.getInstance();

        System.out.println(singleton==singleton2);
    }
}
